package com.bike.mapper;

import com.bike.entity.HhPayRecord;
import com.bike.entity.HhWithdraw;
import com.bike.entity.HhWithdrawAgent;

import java.util.List;
import com.bike.util.PageData;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;

public interface HhPayRecordMapper {
    int deleteByPrimaryKey(Long payRecordId);

    int insertSelective(HhPayRecord record);

    HhPayRecord selectByPrimaryKey(Long payRecordId);

    int updateByPrimaryKeySelective(HhPayRecord record);

	List<HhPayRecord> selectByPage(PageData pd, PageBounds pageBounds);
	
	List<HhPayRecord> selectAll(PageData pd);

	List<HhPayRecord> selectAllByPd(PageData pd);

	int updateToSuccess(HhWithdraw hhWithdraw);

	int updateAgentWithdrawToSuccess(HhWithdrawAgent hhWithdraw);
}